<%@ taglib prefix="s" uri="/struts-tags" %>  

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="skins/dhtmlxwindows_dhx_skyblue.css">
<script src="dhtmlxcommon.js"></script>
<script src="dhtmlxwindows.js"></script>


 
<script src="dhtmlxcontainer.js"></script>
<script type="text/javascript">
	var dhxWins;
	function doOnLoad() {
	    dhxWins = new dhtmlXWindows();
	    dhxWins.enableAutoViewport(false);
	    dhxWins.attachViewportTo("winVP");
	    dhxWins.setImagePath("imgs/");
	    w1 = dhxWins.createWindow("w1", 20, 30, 400, 200);
	    w1.setText("Login System");
	    
	    w1.button("close").hide();  //hide buttons
	    w1.button("park").hide();
	    
		w1.button("minmax1").hide();
		
		w1.keepInViewport(true);	//keep the window in the viewport
		
		w1.attachObject("loginForm");
	    
	}
	
	function changeURL(){
		window.location = "http://www.google.com";
	}

</script>
</head>
<body onload="doOnLoad()">

	<form action="validateLogin" method="post">
		<div>LoginID: <s:textfield name="loginUser.loginName"></s:textfield>  </div>
		<div>Password: <s:password name="loginUser.password"></s:password></div>
		<div><input type="submit" value="Login" /><a href="javascript:test()">Register</a></div>
		
	</form>
	<div id="winVP" style="position: relative; height: 600px; border: #cecece 0px solid; margin: 10px;"></div>
	
</body>
</html>